package com.example.zwh.computershop.home.views;

public class Goods {

    public static final int home_banner = 1;//滑动广告栏
    public static final int home_classify = 2;//分类栏
    public static final int home_goods = 3;//商品栏

    public int type;//item内容 类型

    int goods_uri;//图片路径
    String goods_name;//商品名称
    double goods_price;//商品价格

    public Goods (int type, int goods_uri , String goods_name , double goods_price) {
        this.type = type;
        this.goods_name = goods_name;
        this.goods_uri = goods_uri;
        this.goods_price = goods_price;
    }

    public Goods (int type, int goods_uri , String goods_name ) {
        this.type = type;
        this.goods_name = goods_name;
        this.goods_uri = goods_uri;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public void setGoods_uri(int goods_uri) {
        this.goods_uri = goods_uri;
    }

    public void setGoods_price(double goods_price) {
        this.goods_price = goods_price;
    }

    public int getGoods_uri() {
        return goods_uri;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public double getGoods_price() {
        return goods_price;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
